package com.young.springdemo.service.director;

public class BlaceBoardDecorator extends Director {

    public BlaceBoardDecorator(Compoment compoment) {
        super(compoment);
    }

    public void display(){
        super.display();
        showBoard();
    }

    private void showBoard() {
        System.out.println("我是有一个黑色的边框");
    }
}
